package top.codecrab.springcloud.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.codecrab.springcloud.entity.Payment;

/**
 * @author codecrab
 * @since 2021年05月14日 10:20
 */
@Mapper
public interface PaymentMapper {

    int save(Payment payment);

    Payment getById(@Param("id") Long id);
}
